SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO

/****** Objeto:  procedimiento almacenado dbo.wp_get_barra_herramientas    fecha de la secuencia de comandos: 02/11/2005 18:20:21 ******/
CREATE    procedure [dbo].[wp_get_barra_herramientas]
@cd_operador _codigo_largo
AS
	
SELECT 
	barra.cd_barra_herr, 
	barra.nm_programa, 
	prog.nm_clase,
	barra.nm_boton, 
	barra.de_ayuda, 
	barra.nu_orden
FROM 
	wld_barra_herramientas AS barra
	INNER JOIN wad_operadores AS oper ON oper.cd_barra_herr = barra.cd_barra_herr
	INNER JOIN wad_programas  AS prog ON barra.nm_programa = prog.nm_programa
WHERE
	oper.cd_operador = @cd_operador
ORDER BY
	barra.nu_orden
GO
